<template>
  <el-container style="height: 100vh;">
    <el-aside width="200px">
      <el-menu :default-active="$route.path" router>
        <el-menu-item index="/template">模板定义</el-menu-item>
        <el-menu-item index="/analyze">日志解析</el-menu-item>
        <el-menu-item index="/performance">性能监控</el-menu-item>
      </el-menu>
    </el-aside>
    <el-container>
      <el-header style="background:#409EFF;color:#fff;font-size:20px;">日志分析工具系统</el-header>
      <el-main>
        <router-view/>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
body {
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}
</style> 